package com.njupt.simulation.service.Impl;

import com.njupt.simulation.Mapper.StationMapper;
import com.njupt.simulation.entity.Station;
import com.njupt.simulation.service.StationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StationServiceImpl implements StationService {
  @Autowired
  private StationMapper stationMapper;

    @Override
    public Station findById(Integer id) {
        Station station =stationMapper.findById(id);
        return station;
    }
}
